Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize onEditFilter #187

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Optimize onEditFilter #187

merged 1 commit into from
Jan 6, 2025

Conversation

JeroenDeDauw
Copy link
Member

Before it always called ConfigJsonValidator::newInstance(), which reads a JSON file from disk. With a guard clause it is more efficient and more readable.

Same as ProfessionalWiki/WikibaseFacetedSearch#74

Before it always called ConfigJsonValidator::newInstance(),
which reads a JSON file from disk. With a guard clause it
is more efficient and more readable.
@JeroenDeDauw JeroenDeDauw merged commit 3141a73 into master Jan 6, 2025
24 checks passed
@JeroenDeDauw JeroenDeDauw deleted the onEditFilter branch January 6, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants